﻿using SaaS.Model.Enums;
using System;
using XCore.Domain.Dto;
using XCore.Domain.Entities;

namespace Web.Client.Services.Orders.Dto
{
    public class OrderDto : EntityDto, IHasCreationTime
    {
        /// <summary>
        /// 产品ID
        /// </summary>
        public int ProjectId { get; set; }
        /// <summary>
        /// 产品明细ID
        /// </summary>
        public int ProjectDetailId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 折扣
        /// </summary>
        public decimal Discount { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal TotalPrice { get; set; }
        /// <summary>
        /// 支付类型
        /// </summary>
        public PayType PayType { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>  
        public OrderStatus Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }

    }

}
